Market hours and 24/7 trading

What changes when the underlying exchange is closed, and what stays exactly the same.