A stroke occurs when the blood supply to part of the brain is interrupted or reduced, preventing brain tissue from getting oxygen and nutrients. There are two main types of strokes: ischemic stroke, caused by a blockage, and hemorrhagic stroke, caused by bleeding in the brain.