It doesn't matter which type of diabetes you have; all insulins are accessible for both type 1 and type 2.
There are long-acting insulins, short-acting insulins, and rapid-acting insulins. I'll give you some examples of long-acting insulins: Toujeo, Tresiba, Humulin N and Novolin NPH. They are long-acting insulins that give you coverage for an extended period of time, 24 hours or longer.
There are insulins that are short- or rapid-acting that you would take with a meal, based on what you are eating at a meal, the carbohydrate content or other factors, things like how well you are, whether you have exercised, or whether you have done anything else that could cause changes to your blood sugars. Those insulins give you the two different things.