Retirement tax questions

Why did you get the 1099R?  Did you inherited this IRA account?  What code is in box 7?