You usually divide your code by functionality / types into various files within a directory.
That entire directory forms a package, which then can get included as a whole by other packages ("import ...")
It's not uncommon that a single library or app consists of a bunch of packages, so you can divide it up further.