Methane (CH$_4$) is a covalent compound because it consists of carbon (C) sharing electrons with four hydrogen (H) atoms, forming strong covalent bonds. Covalent compounds involve electron sharing rather than electron transfer, which is characteristic of ionic compounds like KCl, MgCl$_2$, and NaCl.