What is this? Is it a cocoon?
Yes, more accurately we would call it the pupa of an insect. Which insect, I am not certain since pupa's are sometimes very challenging to ID. Would need more information to narrow it down such as location, house basement, outbuilding, etc, as well as a clearer picture.