A window is defined as an opening in a wall of a building to serve one or more of the functions like natural light, natural ventilation and vision. The main function of a door in a building is to serve as a connecting link between the internal parts and to allow free movement to the outside of the building.