A new study discovers the protein that helps animals sleep well.