Good suggestions above. The biggest things are choking hazards. Sometimes thick creamy things can be dangerous if they kind of stick to the roof of the mouth or throat, because they cannot be moved out easily if it does get stuck in the throat. For instance peanut butter cannot be moved out with the heimlick maneuver like a piece of hot dog.
Also, infants should never be given honey. The bacterias can be very dangerous for them.