Blackout curtain liners can definitely help to block out the sun and prevent your room from overheating, keeping it cool as you sleep.