Optimization algorithms cannot safely rewrite instructions if control flow can enter or leave the sequence at arbitrary points. A basic block is a maximal (largest possible) sequence of instructions with exactly one entry point and one exit point. Consider a sequence where instruction 4 adds two variables and instruction 5 stores the result. If no jump can land between 4 and 5, and no jump can leave between 4 and 5, the compiler can treat them as a single unit. This atomic property is what allows subsequent analyses, like liveness or available expressions, to operate on blocks rather than individual instructions.
Explain this more simply
Imagine a train carriage. Passengers enter only at the front door and leave only at the back door. You can rearrange the seats inside without worrying about someone stepping on or off at a window. A basic block is exactly this carriage for instructions.
Go one level deeper
The single-entry, single-exit invariant reduces the complexity of data-flow equations from exponential in the number of instructions to linear in the number of blocks. Recognizing this invariant is the first step in seeing why compiler optimizations are tractable.