The pancreas created and controls sugar levels. When that stops functioning (whether it’s type 1 or type 2) a person needs to inject themselves with insulin. A time where the pancreas might need to control sugar levels is when a person eats. Therefore; when a diabetic person eats they might need to give themselves an injection of insulin. Which is why a diabetic person might need more than one injection, because we eat multiple times a day! :) hope this helped