How powerful is torch.save()?

Hi
it seems torch.save and torch.load can support many types of objects, e.g. list, dict…
one question is that what’s the difference between saving and loading a model/optimizer directly and model/optimizer.state_dict() ?