This is usually a consequence of failing to take accurate measurements of the rough opening, often due to haste or overconfidence.
Without adequate insulation around the window frame, you will experience heat loss during the winter and hot air infiltration during the summer.
Choosing the wrong type of window for a specific space or function can result in poor functionality.