When you take insulin, sugar can enter your cells. This makes the sugar levels in your blood go down. This is the goal of treatment.
But if you take in more calories than you need to keep a healthy weight, your cells will get more sugar than they need. This happens in people who don't have diabetes, too. How many calories you need depends on how active you are. Sugar that your cells don't need to use becomes fat.