According to the Bohr's theory,
when a required amount of energy is supplied to an electron in an atom it jumps from lower orbit to higher orbit.
According to the Bohr's theory, each orbit is associated with definite energy. When an electron absorbs energy it jumps from low energy orbit to high energy orbit and releases energy when it jumps from higher to lower energy orbit.