They are files created by your mac that contain information about the real file, like time machine information or icons. Much like the famous .DS-_Store files. Your mac (and raspberry pi) hide them by default because they start with a dot.
On linux these files don’t do anything, so you can safely remove them by browsing to the folder, and giving the:
command, which will remove all files that start with dot underscore.