Can you explain the .apply() method in a simple manner?