who explained the behavior of atoms for the first time
In quantum mechanics, the behavior of an electron in an atom is described by an orbital, which is a probability distribution rather than an orbit. In the figure, the shading indicates the relative probability to find the electron, having the energy corresponding to the given quantum numbers, at that point.