Standard vs what you hear
Standard Spanish (what textbooks and exams teach) uses:
• lo / la / los / las for direct objects (what receives the action)
• le / les for indirect objects (to/for someone)
In parts of Spain you will hear non-standard mixes. You do not need to produce them — but recognising them prevents confusion when natives speak.