Why are the cars and aeroplanes given stream line shape?

Cars and aeroplanes are given streamline shape to minimise the backward drag of atmosphere.