When a star meets a black hole