What is the difference between function oriented and object oriented design?

What is the difference between function oriented and object oriented design?

In function-oriented design, the system state is centralized and can be shared among different individual functions whereas object-oriented design, the system state cannot be centralized among the objects.