Ion channels are a type of transmembrane channel responsible for the passive transport of positively charged ions ( sodium, potassium, calcium, hydrogen and magnesium ) and negatively charged ions ( chloride ) and, can be either gated or ligand-gated channels.