Player can open and close structure doors and go through them, but cannot climb into or out of a structure through a window. Sometimes the only door is in full view of the enemy. Sometimes you gotta go through a window.
In a MOUT environment (Arma 3 is MOUT central) being able to use windows is critical.