mit
with
Expresses accompaniment or togetherness; means 'together with.'
Ich gehe heute Abend mit Freunden ins Kino.
I'm going to the movies with friends this evening.

with
Loading your saved state.
with
Expresses accompaniment or togetherness; means 'together with.'
Ich gehe heute Abend mit Freunden ins Kino.
I'm going to the movies with friends this evening.

The preposition 'mit' always requires the dative. This is a fixed rule that applies to all meanings of 'mit.'
Fährst du mit dem Zug oder mit dem Auto?
Are you going by train or by car?
Pay attention to the context: 'mit' + person usually means accompaniment (together with). 'Mit' + object usually means that the object is being used as a tool or means.
Ich spreche mit meiner Chefin.
I'm speaking with my boss.
When 'mit' indicates a means, tool, or mode of transport, it answers the question 'Womit?' (with what?). This use is very common in everyday life.
Womit hast du das Paket geöffnet? - Mit einer Schere.
What did you open the package with? - With scissors.
The combination 'mit' + noun can describe the manner of an action, similar to an adverb. Typical phrases are 'mit Freude' (with joy), 'mit Geduld' (with patience), or 'mit Absicht' (on purpose).
Er hat mir mit großer Freude geholfen.
He helped me with great joy.
The expression 'mit' + number + 'Jahren' is used to indicate the age at which a person performed a certain action or was in a certain state.
Mit sechs Jahren habe ich gelernt, Fahrrad zu fahren.
At six, I learned to ride a bike.
from / out
'mit' and 'aus' can both explain how something is connected to an action or thing. 'mit' is often used for a tool, a means, a characteristic, or the manner of an action. 'aus' is used when naming the material or the reason. Learners may confuse the words, for example in sentences like 'mit Holz arbeiten' (to work with wood) and 'aus Holz sein' (to be made of wood). 'Mit Holz arbeiten' means: wood is the material you use. 'Aus Holz' means: something is made of wood. Similarly, 'mit Interesse' (with interest) describes the manner, but 'aus Interesse' (out of interest) names the reason.

Er repariert den Stuhl mit einem kleinen Werkzeug.
He repairs the chair with a small tool.
Der Tisch in der Küche ist aus altem Holz.
The table in the kitchen is made of old wood.