How would you explain a useEffect to a junior engineer?

Technical