How to get collision to work?

I am VERY new to unity and have been working on learning how to use C# and navigate unity and I am currently making a game where you are a rock and you have to collect little glowing orbs to make the rock bigger. I have been following some tutorials and searching online for resources to figure out how to get the collisions to work but they aren’t working for some reason. Does anyone know how to get it to work? Here’s my code:`using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GlowCollect : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{

}

// Update is called once per frame
void Update()
{
    
}

private void OnCollisionEnter(Collision collision)
{
    if (other.name == "rock")
    {
        Destroy(gameObject);
    }
}

By the way, this code is currently supposed to be applied to the orbs you have to collect but if I should be applying this to the player (or something else entirely) that works. Also, this is the tutorial I have been following: Unity Tutorial | Coin Pickups - YouTube

OnCollisionEnter is only called on an object with a rigidbody and a collider hitting another collider, or an object with a collider hitting an object with a rigidbody and a collider. In both scenarios, both objects need colliders and at least one has to have a rigidbody.

Think of it as the rigidbody is the physics and the collider is where the boundaries of the physics applied are. The collider and the rigidbody are needed to simulate the physics of a collision.
@PotatoCode

What if I have multiple active colliders for one object? Does that change the problem at all?

Umm you can add box collider the. It will be able to collide