$$C + O_2 \rightarrow CO_2$$
Here, the number of atoms of each element is equal on both sides of the equation. We have one atom of carbon on the left side and one atom of carbon on the right side. We also have two atoms of oxygen on the left side and two atoms of oxygen on the right side.