I hope I understood your question correctly -
When you BACKUP DATABASE, you backup data pages from the data files (MDF and NDFs), not the file(s). The engine then appends any changes (from the log entries) that happened during the backup.
When you restore the DB, then it recreates the files on disk. The log file itself is absolutely essential to how all RDBMSes work.