That is a 2x4 for support. It is attach at the top of the 2x12, and they can walk under it. It is there to prevent warping and make the whole thing more sturdy.Why is there a barrier in the middle?
Someone could make a divider in the middle if they were using this for sunning small tortoises and wanted to keep them separate, like someone who breeds two different species, for example.