Worm casts. Best thing you could have for your garden lawn.
You need to get better drainage in your lawn by aerating it. This will reduce the moss. After that it will need scarifying and then put some lawn moss killer on.
If you find the worm casts unsightly wait till they dry out just sweep it in.