Can water,air and earth conduct electricity? If yes, then explain how they conduct electricity.

Water contains some ions that conduct electricity. Saltwater is a good conductor.

Air does not conduct electricity unless the electric field is high enough to ionize the air. In that case, free electrons are the main conductors.

Earth contains various salts that conduct electricity, especially if it is moist so that ions can move.