The verb मारना can mean “to beat”, “to strike”, “to kill”, etc.
However, it is used in several idioms that don’t necessarily connote violence.
लाइन (“line”) मारना – to flirt
गप मारना – to chat or gossip
बदबू मारना – to emit a stench, to stink
पाद मारना – to fart
मक्खी मारना – literally, “to kill flies”, figuratively, “to waste time” / “to be idle”