Cyclic movement of nitrogen in different chemical forms from the environment to organisms and then back to the environment.