Create Death Upon Collision With Another GameObject

I am creating a game where birds spawn everywhere and bounce everywhere. I am trying to add a script where if the player comes into contact with a bird they die. I have no clue how to make a script like this so plz help.

Is this a 2D or a 3D game ?

So in a few steps :

Create a tag for the birds

If they have a collider with the trigger box checked you could add a function with OnTriggerEnter in the player script (OnTriggerEnter)

Then you check for the tag wich you gave the birds with a compare tag or compare name function (Compare Tag/Name)

And in this function you add what should happen if the player collides with the tag of the birds i.e. your death function

If you need another solution just let me know

Hope i could help you with this answer

Edit :
Link to the Unity Docs

If you want to maintain IsTrigger = false; for both colliders, you could simply use OnCollisionEnter(Collision)

You would put this on the bird, tag the player with tag “Player”, and the player would contain a script in which has a method void Die()

void OnCollisionEnter(Collider _col)
    if(_col.gameObject.tag == "Player")