Some airplanes leave long white trails in the sky. What do they consist of?

The white lines after an aircraft are contrails, short for condensation trails. They occur when warm moist air from the engines meets the cold surrounding air. Water vapor in the warm air freezes to ice so that ice crystals appear as white streaks. If the surrounding air is dry streaks usually resolves quickly. If the humidity is high streaks tend to remain longer.