Both are striking tools, but they have entirely different applications.
Don’t confuse mallets with hammers. Both are striking tools, but they have entirely different applications. Hammers are usually steel-faced, but some are brass or plastic. Mallets have large wooden or leather heads and detachable handles to accommodate various head sizes.