Rats in the study were more likely to go after a sugary treat even if it was risky or they knew better when in this type of environment.