Preheat the oven to 350℉. Cook the lentils for about 25 minutes until it is tender with a little salt.
Heat oil in a pan, add the onion, garlic, peppers and saute for 3-4 minutes with salt.
Then add the lentils and spinach and cook for 2-3 minutes.
Add the sautéed mixture, cream cheese, ricotta, chili flakes, Italian seasoning, black pepper, and parsley followed by parmesan, shredded mozarella, and marinara sauce. Reserve a little mozarella to top. Combine thoroughly.
Transfer to a 7x7 baking dish, top with the reserved mozarella cheese. Bake at 350℉ for 25 min until it is bubbly.
Serve warm with bread, pasta chips, or veggies.