Magnetization states and magnetization processes in nanostructures: From a single layer to multilayers