Unit is the designation that Junos uses to allow multiple logical interfaces to be configured on a single physical interface. The interface is for physical configurations and unit is used for logical configuration parameters. As you saw in the e-learning module these are then designated after the decimal point in the interface name.
Rather than adding a unit designation for those interfaces that have multiple logical interfaces, Junos requires the unit designation on all interfaces with a default first unit number of zero. This requirement makes all interface names consistent regardless of whether or not there are multiple logical interfaces. The naming convention is consistent for all possible interface configurations.
Since Junos is a hierarchical and not a flat structure this also makes all interface detail configuration appear at the same level when reading a configuration. This also makes adding logical interfaces to interfaces intially configured as just a single one easier and more consistent.
The only configurations then that occur at the interface level are physical configurations that apply to the physical interface. Any logical configuration occur at the unit level.