If an atom has all the atoms attached to it directly (and at every step further down the chain) the same then it is in the same environment - UNLESS there is a different arrangement in space bringing another atom close to it from a different part of the molecule (this exception is rare)
The trick is to consider each environment holistically, not just the atoms directly attached.
In a benzene ring every hydrogen atom is in an identical environment - attached to a carbon which is part of the hexagonal ring. It should be aapparent that all hydrogens find an identical chain of attached atoms.
BUT a mono-substituted benzene has hydrogens at positions 2 & 6 in identical environments, but different from 3 & 5 positions. These are all in a different environment to the hydrogen at position 4.
The protons at positions 2 & 6 are only 1 step removed from the substituted group on the ring, while the protons on positions 3 & 5 are two steps removed from the substituted group; the 4 position is three-steps removed.
The same argument can be used for (low-resolution) substituted cyclohexanes.
However, with high-resolution NMR, in substituted cyclohexanes you have to also take into account the conformational shape of the ring and the fact that equatorial and axial protons may be in close proximity to the substituted group. It can get complicated.