Electromagnetism is the study of the electromagnetic force, one of the four fundamental forces of nature. The electromagnetic force pushes or pulls anything that has an electric charge, like electrons and protons. It includes the electric force, which pushes all charged particles, and the magnetic force, which only pushes moving charges.
There are two types of electric charge: positive and negative. The electric force pulls opposite charges (positive and negative) towards each other. It pushes similar charges (both positive, or both negative) away from each other.