Action principles in nature