The three realms of existence are the realm of the five components, the realm of living beings, and the realm of the environment.
The five components are form, feeling, perception, volition and consciousness. Together they make up what we experience as a person. The realm of living beings is that person as a whole. The realm of the environment is the place they live in, from their room to their society.
These are not three separate places. They are three ways of describing one moment of life. This matters because it means inner change and outer change are connected.
The teaching comes from T'ien-t'ai and feeds into ichinen sanzen: ten worlds, ten factors, three realms, three thousand.
Imagine a stressful morning. Your shoulders are tight (form), your mood is low (feeling), you keep rehearsing the meeting (volition), and the kitchen is a mess (environment). One state of life, showing up on three levels.
Read the oneness of life and its environment, or ichinen sanzen and esho funi.