Slats sit inside a mattress foundation or bed frame and are typically spaced 2 to 2.75 inches apart to support the mattress. They're designed to keep body weight evenly distributed and prevent sinking. Some bed frames have slats connected to one another, similar to a ladder.