What difference between files with .ex and .exs?

Hi. I am new in Elixir. I have got to know about two file extensions for Elixir - .ex and .exs. Documentation says:
" …In addition to the Elixir file extension .ex , Elixir also supports .exs files for scripting. Elixir treats both files exactly the same way, the only difference is in intention. .ex files are meant to be compiled while .exs files are used for scripting…"

I created two files (math.ex and math.exs) with the same code:
"
defmodule Math do
def sum(a, b) do
a + b
end
end

IO.puts Math.sum(1, 2)
"
I used commands elixir and elixirc on both files, but I have received the same results:

  • command elixirc created files Elixir.Math.beam ;
  • command elixir shows result in cmd;

So, I want to know if real difference between these extensions exists.