How are pants made?

most of tyhe time a pattern is drawn then cut out and sewn together in the shape and size of the pants needed