Preheat your oven to 400°F (205°C). In a large mixing bowl, toss the quartered tomatoes, quartered onion, whole garlic cloves, whole jalapeño, and whole habanero peppers with olive oil to coat them evenly.
Spread the veggies in a single layer on a parchment paper-lined baking sheet. Make sure they are not overcrowded to ensure even roasting. Place the baking sheet in the oven and roast the vegetables until they are charred and soft, about 25 to 30 minutes. This roasting process helps to develop a deep, smoky flavor in the salsa, and mellows out the pungency of the onions and garlic.
While the vegetables are roasting, toast the cumin seeds in a small dry skillet over medium heat. Shake the skillet frequently and toast the seeds until they start to pop and release their aroma, about one to two minutes. Remove from heat.
Once the vegetables are roasted, remove them from the oven and allow them to cool slightly for handling.
Transfer the roasted vegetables to a blender or food processor. Add the toasted cumin seeds, chopped cilantro, lime juice, and salt.
Blend the mixture until it reaches your desired consistency, whether smooth or slightly chunky. Taste and adjust the salt and lime juice before serving.